# -*- coding: UTF-8 -*-
"""
@Filename:exerc1.py
@author:Cora
@time:2025-04-18
"""
text=input("请输入一段文字：")
f=open('E:\hello.txt','w',encoding='utf-8')
f.write(text)
f.close